package com.aatrox.bhsypro.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 卖家商品信息类
 */
@Data
public class BhSyShop {
    int gid; //卖家ID
    int sid; //商品ID
    String sName; //商品名称
    float sMoney; //商品价格
    String sImg; //商品图片资源路径
    String sType; //商品类型
    int sCount; //商品总数
    Date startDate; //开始时间
    Date endDate; //结束时间
    Long lastTime;
    Long endTime;

    public BhSyShop() {
    }

    public BhSyShop(String sName) {
        this.sName = sName;
    }

    public BhSyShop(int gid, String sName, float sMoney, String sImg, String sType, int sCount, Date startDate, Date endDate) {
        this.gid = gid;
        this.sName = sName;
        this.sMoney = sMoney;
        this.sImg = sImg;
        this.sType = sType;
        this.sCount = sCount;
        this.startDate = startDate;
        this.endDate = endDate;
    }

}
